/**
 */
package com.dingpeikeji.quickdeer.modules.ordervehi.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.modules.ordervehi.entity.TOrderVehi;
import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.modules.ordervehi.dao.TOrderVehiDao;

/**
 * 班次订单Service
 * @author wuhao
 * @version 2016-07-06
 */
@Service
@Transactional(readOnly = true)
public class TOrderVehiService extends CrudService<TOrderVehiDao, TOrderVehi> {

	public TOrderVehi get(String id) {
		return super.get(id);
	}
	
	public List<TOrderVehi> findList(TOrderVehi tOrderVehi) {
		return super.findList(tOrderVehi);
	}
	
	public Page<TOrderVehi> findPage(Page<TOrderVehi> page, TOrderVehi tOrderVehi) {
		return super.findPage(page, tOrderVehi);
	}
	
	@Transactional(readOnly = false)
	public void save(TOrderVehi tOrderVehi) {
		super.save(tOrderVehi);
	}
	
	@Transactional(readOnly = false)
	public void delete(TOrderVehi tOrderVehi) {
		super.delete(tOrderVehi);
	}
	
}
